﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MP/Alquiler.Master" AutoEventWireup="false" CodeFile="frmInicio.aspx.vb" Inherits="frmInicio" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style1
    {
        width: 600px;
    }
        .style2
        {
            height: 16px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="UDP_Central" runat="server">
    <ContentTemplate>
       <table cellpadding="0" cellspacing="0" class="style1" width="800px">
    <tr>
        <td align="left" colspan="2">
            
           
            <asp:Label ID="lblNombre" runat="server" CssClass="sub-sub-titulo"></asp:Label>
        </td>
        <td align="center" valign="top">
            <asp:LinkButton ID="lkbLogin" runat="server" CausesValidation="False">Login</asp:LinkButton>
        </td>
        <td align="center" valign="top">
            &nbsp;
            <asp:LinkButton ID="lkbNuevousuario" runat="server" CausesValidation="False">Nuevo Usuario</asp:LinkButton>
        </td>
    </tr>
           <tr>
               <td align="left" colspan="2">
                   Buscar:
                   <asp:TextBox ID="txtBuscar" runat="server" Width="300px"></asp:TextBox>
               </td>
               <td align="center" valign="top">
                   &nbsp;</td>
               <td align="center" valign="top">
                   &nbsp;</td>
           </tr>
           <tr>
               <td align="center">
                   &nbsp;&nbsp;</td>
               <td align="center">
                   &nbsp;</td>
               <td align="center" valign="top">
                   &nbsp;</td>
               <td align="center" valign="top">
                   &nbsp;</td>
           </tr>
           <tr>
               <td align="center">
                   <img alt="."  src="Resourse/AU_001.PNG" />
               </td>
               <td align="center">
                   <img alt="." src="Resourse/AU_002.PNG" />
               </td>
               <td align="center" valign="top">
                   <br />
                   <br />
               </td>
               <td align="center" valign="top">
                   <asp:Label ID="lblestado" runat="server" Visible="False"></asp:Label>
               </td>
           </tr>
    <tr>
        <td align="center">
            <asp:LinkButton ID="lbnVer1" runat="server" CausesValidation="False">Ver detalle</asp:LinkButton>
        </td>
        <td align="center">
            <asp:LinkButton ID="lbnVer2" runat="server" CausesValidation="False">Ver detalle</asp:LinkButton>
        </td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            <img alt="." src="Resourse/AU_003.PNG" /></td>
        <td align="center">
            <img alt="."  src="Resourse/AU_004.PNG" /></td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            <asp:LinkButton ID="lbnVer3" runat="server" CausesValidation="False">Ver detalle</asp:LinkButton>
        </td>
        <td align="center">
            <asp:LinkButton ID="lbnVer4" runat="server" CausesValidation="False">Ver detalle</asp:LinkButton>
        </td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    <tr>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
        <td align="center">
            &nbsp;</td>
    </tr>
    </table>
    </ContentTemplate>
 </asp:UpdatePanel>


<asp:Button ID="btnLogin" runat="server" Text="" Style="display: none" />
<asp:Button ID="btnRegistrar" runat="server" Text="" Style="display: none" />
<asp:Button ID="btnDetalle" runat="server" Text="" Style="display: none" />
<asp:Button ID="btnDatos" runat="server" Text="" Style="display: none" />
    <%--LOGIN--%>
<div style="position: relative;">
    <cc1:ModalPopupExtender runat="server" ID="MP_Login" 
                        PopupControlID="PN_Login"
                        DropShadow="True" 
                        BackgroundCssClass="BackgroundPopup" 
                        TargetControlID="btnLogin">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="PN_Login" Width="250px" CssClass="CajaDialogoGeneral" runat="server">
     <asp:UpdatePanel ID="UDP_Login" runat="server">
                    <ContentTemplate>                     
                     <table><tr><td colspan="2">
                         Usuario Registrado
                       </td>
                           <td>
                               &nbsp;</td>
                       </tr>
                       <tr><td>
                           Usuario
                       </td>
                       <td>
                       
                           <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox>
                       
                           
                       
                       </td>
                           <td>
                               &nbsp;&nbsp;&nbsp;</td>
                       </tr>
                           <tr>
                               <td>
                                   Contraseña</td>
                               <td>
                                   <asp:TextBox ID="TextBox8" runat="server" TextMode="Password"></asp:TextBox>
                                   
                               </td>
                               <td>
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td align="center" colspan="3">
                                   <asp:LinkButton ID="LinkButton1" runat="server">¿Olvido su contraseña?</asp:LinkButton>
                               </td>
                           </tr>
                         <tr>
                             <td align="center" colspan="3">
                                 <asp:Button ID="Button3" runat="server" CausesValidation="False" 
                                     Text="Ingresar" />
                                 &nbsp;<asp:Button ID="Button4" runat="server" CausesValidation="False" 
                                     Text="Cerrar" />
                             </td>
                         </tr>
                       </table></ContentTemplate>
                </asp:UpdatePanel>
    </asp:Panel>

</div>

<%--Registrar--%>
<div style="position: relative;">
    <cc1:ModalPopupExtender ID="MP_Registrar" runat="server" 
                        PopupControlID="PN_Registrar"
                        DropShadow="True" 
                        BackgroundCssClass="BackgroundPopup" 
                        TargetControlID="btnRegistrar">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="PN_Registrar"  Width="530px" CssClass="CajaDialogoGeneral" 
        runat="server">
   
    <asp:UpdatePanel ID="UDP_Registrar" runat="server">
    <ContentTemplate>
              <table><tr><td colspan="2">
                       Registrar Cliente</td>
                           <td align="center">
                               &nbsp;</td>
                       <td align="center">
                           &nbsp;</td>
                  <td align="center">
                      &nbsp;</td>
                  <td align="center">
                      &nbsp;</td>
                       </tr>
                       <tr><td>
                           Nombre del Cliente
                       </td>
                       <td colspan="4">
                       
                           <asp:TextBox ID="txtNomCli" runat="server" Width="300px"></asp:TextBox>
                       
                       </td>
                           <td align="center">
                               <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" 
                                   ControlToValidate="txtNomCli" ErrorMessage="Ingrese Nombre completo">*</asp:RequiredFieldValidator>
                               <cc1:ValidatorCalloutExtender ID="RequiredFieldValidator9_ValidatorCalloutExtender" 
                                   runat="server" TargetControlID="RequiredFieldValidator9">
                               </cc1:ValidatorCalloutExtender>
                           </td>
                       </tr>
                           <tr>
                               <td>
                                   E - Mail</td>
                               <td colspan="4">
                                   <asp:TextBox ID="txtemail" runat="server" Width="200px"></asp:TextBox>
                               </td>
                               <td align="center">
                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                       ControlToValidate="txtemail" ErrorMessage="Ingrese E-Mail">*</asp:RequiredFieldValidator>
                                   <cc1:ValidatorCalloutExtender ID="RequiredFieldValidator1_ValidatorCalloutExtender" 
                                       runat="server" TargetControlID="RequiredFieldValidator1">
                                   </cc1:ValidatorCalloutExtender>
                               </td>
                  </tr>
                           <tr>
                               <td>
                                   DNI:</td>
                               <td>
                                   <asp:TextBox ID="txtdni" runat="server"></asp:TextBox>
                               </td>
                               <td align="center">
                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                                       ControlToValidate="txtdni" ErrorMessage="Ingrese DNI">*</asp:RequiredFieldValidator>
                               </td>
                               <td align="center">
                                   Fecha Nacimiento</td>
                               <td align="center">
                                   <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>
                                   <cc1:CalendarExtender ID="TextBox9_CalendarExtender" runat="server" 
                                       TargetControlID="TextBox9">
                                   </cc1:CalendarExtender>
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                  </tr>
                           <tr>
                               <td>
                                   Dirección</td>
                               <td colspan="4">
                                   <asp:TextBox ID="txtdireccion" runat="server" Width="300px"></asp:TextBox>
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                  </tr>
                  <tr>
                      <td>
                          Departamento</td>
                      <td>
                          <asp:DropDownList ID="DropDownList3" runat="server">
                              <asp:ListItem>Lima</asp:ListItem>
                              <asp:ListItem>La Libertad</asp:ListItem>
                              <asp:ListItem>Junin</asp:ListItem>
                              <asp:ListItem>Arequipa</asp:ListItem>
                          </asp:DropDownList>
                          
                      </td>
                      <td align="center">
                          &nbsp;</td>
                      <td align="center">
                          Provincia</td>
                      <td align="center">
                          <asp:DropDownList ID="DropDownList4" runat="server">
                              <asp:ListItem>Lima</asp:ListItem>
                              <asp:ListItem>Callao</asp:ListItem>
                          </asp:DropDownList>
                      </td>
                      <td align="center">
                          &nbsp;</td>
                  </tr>
                           <tr>
                               <td>
                                   Distrito</td>
                               <td>
                                   <asp:DropDownList ID="DropDownList5" runat="server">
                                       <asp:ListItem>cercado</asp:ListItem>
                                       <asp:ListItem Value="Ate">Ate - vitarte</asp:ListItem>
                                       <asp:ListItem>Barranco</asp:ListItem>
                                       <asp:ListItem>Miraflores</asp:ListItem>
                                   </asp:DropDownList>
                                   
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td>
                                   &nbsp;</td>
                               <td>
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td>
                                   Nro Brevete</td>
                               <td>
                                   <asp:TextBox ID="txtbreve" runat="server"></asp:TextBox>
                               </td>
                               <td align="center">
                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" 
                                       ControlToValidate="txtbreve" ErrorMessage="Ingrese numero de brevette">*</asp:RequiredFieldValidator>
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                  </tr>
                           <tr>
                               <td>
                                   Contraseña:</td>
                               <td>
                                   <asp:TextBox ID="txtPass" runat="server" TextMode="Password"></asp:TextBox>
                               </td>
                               <td align="center">
                                   <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                                       ControlToValidate="txtPass" ErrorMessage="Ingrese Contraseña">*</asp:RequiredFieldValidator>
                               </td>
                               <td align="center">
                                   Repita Contraseña</td>
                               <td align="center">
                                   <asp:TextBox ID="txtPass2" runat="server" TextMode="Password"></asp:TextBox>
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td>
                                   &nbsp;</td>
                               <td>
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td>
                                   &nbsp;</td>
                               <td>
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                           <tr>
                               <td align="center" colspan="5">
                                   <asp:Button ID="Button2" runat="server" Text="Grabar" />
                                   &nbsp;<asp:Button ID="Button1" runat="server" Text="Cerrar" 
                                       CausesValidation="False" />
                                   <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                               </td>
                               <td align="center">
                                   &nbsp;</td>
                           </tr>
                       </table>
    </ContentTemplate>
    </asp:UpdatePanel>
     </asp:Panel>
</div>


<%--Detalle--%>
<div style="position: relative;">
    <cc1:ModalPopupExtender ID="MP_Detalle" runat="server"
                        PopupControlID="PN_Detalle"
                        DropShadow="True" 
                        BackgroundCssClass="BackgroundPopup" 
                        TargetControlID="btnDetalle">
    </cc1:ModalPopupExtender>
    <asp:Panel ID="PN_Detalle" runat="server"  CssClass="CajaDialogoGeneral" Width="500px" >
    <asp:UpdatePanel ID="UDP_Detalle" runat="server">
        <ContentTemplate>
        
          <table border ="0">
             <tr>
               <td align="center">
                   Codigo Automovil 
                   <asp:Label ID="lblCodigo" runat="server"></asp:Label>
               </td>
               <td align="center">
               Ciudad
                  
               </td>
               <td align="center" valign="top">
                   Tipo de automovil
               </td>
            </tr>
           <tr>
           <td rowspan="5">
                &nbsp;<asp:ImageButton ID="imgdetalle" runat="server" />
           </td>
               <td align="center" valign="top">
                   <asp:DropDownList ID="ddlcentrega" runat="server">
                       <asp:ListItem Value="0">Elegir Ciudad</asp:ListItem>
                       <asp:ListItem Value="1">Lima</asp:ListItem>
                       <asp:ListItem Value="2">Callao</asp:ListItem>
                   </asp:DropDownList>
               </td>
               <td align="center" valign="top">
                   <asp:Label ID="lbltipoAuto" runat="server"></asp:Label>
               </td>
           </tr>
              <tr>
                  <td align="center" valign="top">
                      Fecha de reserva y Hora</td>
                  <td align="center" valign="top">
                      Dias</td>
              </tr>
           <tr>
           
               <td align="center" valign="top">
                   <asp:TextBox ID="txtfechareserva" runat="server"></asp:TextBox>
                   <cc1:CalendarExtender ID="txtfechareserva_CalendarExtender" runat="server" 
                       TargetControlID="txtfechareserva">
                   </cc1:CalendarExtender>
               </td>
               <td align="center" valign="top">
                   <asp:Label ID="lblDias" runat="server"></asp:Label>
               </td>
           </tr>
            <tr>
           
               <td align="center" valign="top" class="style2">
                   Fecha de devolucion y hora</td>
               <td align="center" valign="top" class="style2">
                   </td>
           </tr>
              <tr>
                  <td align="center" valign="top">
                      <asp:TextBox ID="txtFechaDevolucion" runat="server"></asp:TextBox>
                      <cc1:CalendarExtender ID="txtFechaDevolucion_CalendarExtender" runat="server" 
                          TargetControlID="txtFechaDevolucion">
                      </cc1:CalendarExtender>
                  </td>
                  <td align="center" valign="top">
                      &nbsp;</td>
              </tr>
           <tr>
               <td align="center">
                   Precio por día
                   <asp:Label ID="lblPrecio" runat="server" Text=""></asp:Label>
               </td>
               <td align="center">
                   Ciudad devolución</td>
               <td align="center" valign="top">
                   &nbsp;</td>
            </tr>
              <tr>
                  <td align="center">
                      &nbsp;</td>
                  <td align="center">
                      <asp:DropDownList ID="ddlcdevolucion" runat="server">
                          <asp:ListItem Value="0">Elegir Ciudad</asp:ListItem>
                          <asp:ListItem Value="1">Lima</asp:ListItem>
                          <asp:ListItem Value="2">Callao</asp:ListItem>
                      </asp:DropDownList>
                  </td>
                  <td align="center" valign="top">
                      &nbsp;</td>
              </tr>
              <tr>
                  <td align="center" colspan="2">
                      <asp:Label ID="lblMsgForm" runat="server"></asp:Label>
                  </td>
                  <td align="center" valign="top">
                      &nbsp;</td>
              </tr>
              <tr>
                  <td align="center" colspan="3">
                      <asp:Button ID="Button5" runat="server" CausesValidation="False" 
                          Text="Gerenar reserva" />
                      &nbsp;
                      <asp:Button ID="Button6" runat="server" CausesValidation="False" 
                          Text="Cancelar" />
                  </td>
              </tr>
        </table>
        
        </ContentTemplate>
    
    </asp:UpdatePanel>
    </asp:Panel>

</div>

    <%--DATOS--%>
<div style="position: relative;">
    <cc1:ModalPopupExtender ID="MD_Datos" runat="server"
                        PopupControlID="PN_Datos"
                        DropShadow="True" 
                        BackgroundCssClass="BackgroundPopup" 
                        TargetControlID="btnDatos">
    </cc1:ModalPopupExtender>
    
    <asp:Panel ID="PN_Datos" runat="server" CssClass="CajaDialogoGeneral" Width="500px">
   
    <asp:UpdatePanel ID="UDP_Datos" runat="server">
        <ContentTemplate>
        
        </ContentTemplate>
    </asp:UpdatePanel>
     </asp:Panel>
</div>

</asp:Content>

